﻿using 为web添加unity.caching在controller中注入.DomainModels;
using 为web添加unity.caching在controller中注入.Models;
using Project.UnityCaching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using EntityFrameworks.Data.Core;

namespace 为web添加unity.caching在controller中注入.Repository
{
    public interface IOrderRepository
    {
        [Caching(CachingMethod.Get)]
        IQueryable<Order_List> GetModel();
        [Caching(CachingMethod.Get)]
        IEnumerable<Order_List> Fetch(Action<Orderable<Order_List>> order, System.Linq.Expressions.Expression<Func<Order_List, bool>> predicate, int skip, int count);

    }
}